#pragma once
#include <random>
#include <vector>
#include "INoiseGenerator.h"
#include "Interpolaters.h"

using namespace std;

class ValueNoise :
	public INoiseGenerator
{
private:
	void Init1DArray();
	void Init2DArray();

	vector<float> randomArray1D;
	vector<vector<float>> randomArray2D;

public:
	float Get1D(float x) override;
	float Get2D(float x, float y) override;
	ValueNoise();
	~ValueNoise();
};
